/*
 * @Description: 
 * @Author: 赵大壮
 * @Date: 2021-12-06 17:18:37
 * @LastEditTime: 2022-12-05 12:35:48
 * @LastEditors: 赵大壮
 */
import DZServiceExport from "@/views/咨询管理/service/DZServiceExport";
import { Component, Vue, Inject } from "vue-property-decorator";
import DZServiceUserSubscribe from "../service/DZServiceUserSubscribe";

@Component({
    components: {}
})
export default class Index extends Vue {

    s_subscribe = new DZServiceUserSubscribe();

    s_expert = new DZServiceExport();

    created() { }

    mounted() {
        this.action_list_subscribe();
        this.s_expert.net_list_theme();
    }

    beforeDestroy() {

    }

    action_list_subscribe() {
        this.s_subscribe.net_list_user_subscribe();
    }

    action_export_data(isAll) {
        this.s_subscribe.net_export_data(isAll);
    }

    action_page_change(val) {
        this.s_subscribe.m_page.page = val;
        this.action_list_subscribe();
    }

    action_do_handler(id) {
        this.s_subscribe.net_do_handler(id, () => {
            this.action_list_subscribe();
        })
    }
}